<?php

namespace App\Http\ViewComposers;

use App\Models\Config;
use Illuminate\View\View;

class ConfigComposer
{
    public function compose(View $view)
    {
        $configs = Config::pluck('value', 'title');
        $view->with('configs', $configs);
    }
}
